package com.czmh.etc.onlinepubsys.request.cmg;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright (C), 2017-2021
 *
 * @Author: Chenzj
 * Date: 2021/3/18 13:35
 * FileName: CarDecryptRequest
 * Description:
 */
@ApiModel("招商局-车辆信息解密-对接请求对象")
@Data
public class CarDecryptRequest {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户ID")
    @JSONField(serialize = false)
    private String userId; //用户ID

    @ApiModelProperty("订单id")
    @JSONField(serialize = false)
    private String orderId; //订单id

    @ApiModelProperty(notes = "时间戳", hidden = true)
    private Long time;

    @ApiModelProperty(notes = "客户端唯一码，accessNo+随机编", hidden = true)
    private String clientKey;

    @ApiModelProperty(notes = "车辆密文16进制字符串（字母大写），不包含SW12响应码", required = true)
    private String content;

    @ApiModelProperty(notes = "写签订单号", required = true)
    private String orderNo;

    @ApiModelProperty(notes = "16位合同序列号", required = true)
    private String serialNumber;

    @ApiModelProperty(notes = "合同版本需转成10进制", required = false)
    private Integer contractVersion;
}
